const mongoose = require('../helper/db');
const Schema = mongoose.Schema;
/**
 * 暂不使用
 * @type {Mongoose.Schema}
 */
var versionSchema = new Schema({
    noteId: String,
    versionStr: String,
    versionCode: String,
    uploadAt: {
        type: Date,
        default: Date.now
    },
    uploader: String,
    uploaderId: String,
    size: Number,
    downloadUrl: String,
});

module.exports = mongoose.model('Version', versionSchema);